<?php echo $this->render('header.phtml');?>
<script language="javascript" src="<?=$this->styleurl?>/js/color.js"></script>
<SCRIPT language=javascript>
function getClientHeight(){
    var clientHeight=0;
    if(document.body.clientHeight && document.documentElement.clientHeight){
        var clientHeight = (document.body.clientHeight<document.documentElement.clientHeight)?document.body.clientHeight:document.documentElement.clientHeight;        
    }else{
        var clientHeight = (document.body.clientHeight>document.documentElement.clientHeight)?document.body.clientHeight:document.documentElement.clientHeight;    
    }
    return clientHeight;
}
function getScrollTop(){
    var scrollTop=0;
    if (self.pageYOffset) { 
		scrollTop = self.pageYOffset; 
	}else if(document.documentElement && document.documentElement.scrollTop){
        scrollTop=document.documentElement.scrollTop;
    }else if(document.body){
        scrollTop=document.body.scrollTop;
    }
    return scrollTop;
}
function moveBottom() {
	var topHeight = getClientHeight()+getScrollTop()-35;
 	var timeoutNextCheck = 1;
	document.getElementById("divmenu").style.top=topHeight+"px";
	setTimeout ("moveBottom()", timeoutNextCheck);
}
</SCRIPT>
<div id="divmenu" style="right:0px; VISIBILITY: visible; WIDTH: 40px; POSITION: absolute; TOP: 0px;z-index:100;">
<a href="#Top"><img id="imgmenu" onclick="scroll(0,0)"  src="<?=$this->styleurl?>/images/goto_top.gif" border=0></a></div>
<script language="javascript">
var topHeight = getClientHeight()+getScrollTop()-35;
//alert(topHeight);
document.getElementById("divmenu").style.top=topHeight+"px";
moveBottom();
</script>
<div id="main2"> 
      <div id="content"> 
        <div class="blog" > 
          <div class="blogbody"> 
              <div class="articletext" id="articletext">
                <h3 class="title"><?php echo $this->article_info["art_title"]; ?>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="javascript:setColor('#FAFBE6')"><img height="10" alt="杏仁黄" src="<?=$this->styleurl?>/images/color1.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#FFF2E2')"><img height="10" alt="秋叶褐" src="<?=$this->styleurl?>/images/color2.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#FDE6E0')"><img height="10" alt="胭脂红" src="<?=$this->styleurl?>/images/color3.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#F3FFE1')"><img height="10" alt="芥末绿" src="<?=$this->styleurl?>/images/color4.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#DAFAFE')"><img height="10" alt="天蓝" src="<?=$this->styleurl?>/images/color5.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#E9EBFE')"><img height="10" alt="雪青" src="<?=$this->styleurl?>/images/color6.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#EAEAEF')"><img height="10" alt="灰" src="<?=$this->styleurl?>/images/color7.gif" width="10" border="0" /></a>&nbsp;
                <a href="javascript:setColor('#FFFFFF')"><img height="10" alt="银河白" src="<?=$this->styleurl?>/images/color8.gif" width="10" border="0" /></a>&nbsp;
                
                </h3>
                
                <div class="innertext">
                		<h2 align="center"><?php echo $this->article_info["art_title"]; ?></h2>
					<?php echo htmlspecialchars_decode($this->article_info["art_content"],ENT_QUOTES); ?>
                </div>
				 <div class="posted">于 <?php echo date('Y-m-d H:i:s',$this->article_info["art_put_time"]); ?> 发表
                | <a href="javascript:void(null)">我要评论(<?=$this->total_comment?>)</a> | 阅读次数(<?=$this->article_info["art_count"]?>)</div>
                <br clear="all" />
              </div>
			 
          </div>
	<?php echo $this->render('comment.phtml');?>
	</div>
</div>
<?php 
echo $this->render("left.phtml");
echo $this->render('foot.phtml');
?>
</body> 
</html>